const defaultSettings = require('./src/config/index.js')

// 首页Title
const name = defaultSettings.title || 'vue mobile template'

module.exports = {
    lintOnSave: false,
    // 配置二级域名，http://quancloud.com/admin，对应nginx /admin
    publicPath:"/admin",
    devServer: {
        port: 6660,
        // disableHostCheck: true
        allowedHosts: "all"
    },

    configureWebpack: config => {
        config.name = name
    },

    // 设为false打包时不生成.map文件
    productionSourceMap: false,

}
